package com.zmzncs.lmtc.module.customer.pojo.card;

import com.zmzncs.lmtc.common.pojo.enums.optionalvalue.promotion.MonthRentTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 客户-会员卡
 * </p>
 *
 * @author 任建波
 * @since 2020-08-26
 */
@Data
public class MonthCardBuyForm implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "车牌号id", required = true)
    @NotNull
    private Long carId;

    @ApiModelProperty(value = "客户优惠券id")
    private Long custTicketId;

    @ApiModelProperty(value = "停车场id", required = true)
    @NotNull
    private Long parkId;

    @ApiModelProperty(value = "月租规则id", required = true)
    @NotNull
    private Long monthRuleId;

    @ApiModelProperty(value = "月租卡类型（1：月卡，2：季卡，3：年卡，其他卡id）", required = true)
    @NotNull
    private Integer monthRentType;

    @ApiModelProperty(value = "支付金额", required = true)
    @NotNull
    private BigDecimal paidAmount;

    @ApiModelProperty(value = "应收金额", required = true)
    private BigDecimal receivableAmount;

    @ApiModelProperty(value = "中萌停车场月租类型（1：全天年卡，2：全天季卡，4：全天月卡，100：白天月卡，110：夜间月卡）")
    @NotNull
    private Integer uniformRentType;

    public void validate(){

    }

}
